package view;

import java.awt.Color;
import javax.swing.plaf.BorderUIResource;

public class gui_categoria extends javax.swing.JInternalFrame {

	public gui_categoria() {
		initComponents();
		this.IniciaTela();
	}//CONSTRUTOR

	@SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        pnl_principal = new javax.swing.JPanel();
        pnl_acoes = new javax.swing.JPanel();
        jButton1 = new javax.swing.JButton();
        jButton2 = new javax.swing.JButton();
        jButton3 = new javax.swing.JButton();
        jButton4 = new javax.swing.JButton();
        jButton5 = new javax.swing.JButton();
        jButton6 = new javax.swing.JButton();
        jButton7 = new javax.swing.JButton();
        jButton8 = new javax.swing.JButton();
        jButton9 = new javax.swing.JButton();
        jButton10 = new javax.swing.JButton();
        pnl_central = new javax.swing.JPanel();
        lbl_desc = new javax.swing.JLabel();
        txt_descricao = new javax.swing.JTextField();
        lbl_codi = new javax.swing.JLabel();
        txt_codigo = new javax.swing.JTextField();
        lbl_mensagem = new javax.swing.JLabel();
        box_ativo = new javax.swing.JComboBox();
        mnu = new javax.swing.JMenuBar();
        mnu_a = new javax.swing.JMenu();
        mnu_a_novo = new javax.swing.JMenuItem();
        mnu_a_canc = new javax.swing.JMenuItem();
        mnu_a_salv = new javax.swing.JMenuItem();
        mnu_a_edit = new javax.swing.JMenuItem();
        mnu_a_loca = new javax.swing.JMenuItem();
        mnu_a_ante = new javax.swing.JMenuItem();
        mnu_a_prox = new javax.swing.JMenuItem();
        mnu_a_prim = new javax.swing.JMenuItem();
        mnu_a_ulti = new javax.swing.JMenuItem();
        mnu_a_sair = new javax.swing.JMenuItem();
        mnu_a_info = new javax.swing.JMenuItem();

        setTitle("Categoria ALT+1");

        pnl_principal.setBackground(new java.awt.Color(255, 255, 255));

        pnl_acoes.setBackground(new java.awt.Color(255, 255, 255));
        pnl_acoes.setBorder(javax.swing.BorderFactory.createTitledBorder(""));

        jButton1.setText("Novo");

        jButton2.setText("Cancelar");
        jButton2.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButton2ActionPerformed(evt);
            }
        });

        jButton3.setText("Salvar");

        jButton4.setText("Último");

        jButton5.setText("Localizar");

        jButton6.setText("Editar");

        jButton7.setText("Anterior");

        jButton8.setText("Primeiro");

        jButton9.setText("Próximo");

        jButton10.setText("Info");

        javax.swing.GroupLayout pnl_acoesLayout = new javax.swing.GroupLayout(pnl_acoes);
        pnl_acoes.setLayout(pnl_acoesLayout);
        pnl_acoesLayout.setHorizontalGroup(
            pnl_acoesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(pnl_acoesLayout.createSequentialGroup()
                .addGap(5, 5, 5)
                .addGroup(pnl_acoesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addComponent(jButton2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(jButton1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(pnl_acoesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(pnl_acoesLayout.createSequentialGroup()
                        .addComponent(jButton3, javax.swing.GroupLayout.PREFERRED_SIZE, 90, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addComponent(jButton5, javax.swing.GroupLayout.PREFERRED_SIZE, 90, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(pnl_acoesLayout.createSequentialGroup()
                        .addComponent(jButton6, javax.swing.GroupLayout.PREFERRED_SIZE, 90, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jButton10, javax.swing.GroupLayout.PREFERRED_SIZE, 90, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(0, 0, Short.MAX_VALUE)))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(pnl_acoesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addComponent(jButton7, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(jButton8, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(pnl_acoesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jButton9, javax.swing.GroupLayout.PREFERRED_SIZE, 90, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jButton4, javax.swing.GroupLayout.PREFERRED_SIZE, 90, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(5, 5, 5))
        );
        pnl_acoesLayout.setVerticalGroup(
            pnl_acoesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(pnl_acoesLayout.createSequentialGroup()
                .addGap(5, 5, 5)
                .addGroup(pnl_acoesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jButton1, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jButton3, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jButton5, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jButton7, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jButton9, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(pnl_acoesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jButton2, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jButton4, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jButton6, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jButton8, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jButton10, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(5, 5, 5))
        );

        pnl_central.setBackground(new java.awt.Color(255, 255, 255));
        pnl_central.setBorder(javax.swing.BorderFactory.createTitledBorder(""));

        lbl_desc.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
        lbl_desc.setText("Descrição");

        txt_descricao.setText("Michael Guedes da Silva");
        txt_descricao.setPreferredSize(new java.awt.Dimension(183, 20));
        txt_descricao.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusGained(java.awt.event.FocusEvent evt) {
                txt_descricaoFocusGained(evt);
            }
            public void focusLost(java.awt.event.FocusEvent evt) {
                txt_descricaoFocusLost(evt);
            }
        });

        lbl_codi.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
        lbl_codi.setText("Código");

        txt_codigo.setText("0000001");
        txt_codigo.setPreferredSize(new java.awt.Dimension(85, 20));
        txt_codigo.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusGained(java.awt.event.FocusEvent evt) {
                txt_codigoFocusGained(evt);
            }
            public void focusLost(java.awt.event.FocusEvent evt) {
                txt_codigoFocusLost(evt);
            }
        });

        lbl_mensagem.setForeground(new java.awt.Color(51, 102, 255));
        lbl_mensagem.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        lbl_mensagem.setText("Mensagem");

        box_ativo.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Ativo", "Inativo" }));
        box_ativo.setPreferredSize(new java.awt.Dimension(65, 20));
        box_ativo.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusGained(java.awt.event.FocusEvent evt) {
                box_ativoFocusGained(evt);
            }
            public void focusLost(java.awt.event.FocusEvent evt) {
                box_ativoFocusLost(evt);
            }
        });

        javax.swing.GroupLayout pnl_centralLayout = new javax.swing.GroupLayout(pnl_central);
        pnl_central.setLayout(pnl_centralLayout);
        pnl_centralLayout.setHorizontalGroup(
            pnl_centralLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(pnl_centralLayout.createSequentialGroup()
                .addGap(98, 98, 98)
                .addGroup(pnl_centralLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addGroup(pnl_centralLayout.createSequentialGroup()
                        .addComponent(lbl_desc)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(txt_descricao, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(pnl_centralLayout.createSequentialGroup()
                        .addComponent(lbl_codi, javax.swing.GroupLayout.PREFERRED_SIZE, 58, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(txt_codigo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(box_ativo, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
            .addGroup(pnl_centralLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(lbl_mensagem, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addContainerGap())
        );
        pnl_centralLayout.setVerticalGroup(
            pnl_centralLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(pnl_centralLayout.createSequentialGroup()
                .addGap(56, 56, 56)
                .addGroup(pnl_centralLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(box_ativo, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGroup(pnl_centralLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(lbl_codi)
                        .addComponent(txt_codigo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(pnl_centralLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(lbl_desc)
                    .addComponent(txt_descricao, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(38, 38, 38)
                .addComponent(lbl_mensagem)
                .addContainerGap())
        );

        javax.swing.GroupLayout pnl_principalLayout = new javax.swing.GroupLayout(pnl_principal);
        pnl_principal.setLayout(pnl_principalLayout);
        pnl_principalLayout.setHorizontalGroup(
            pnl_principalLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, pnl_principalLayout.createSequentialGroup()
                .addGap(5, 5, 5)
                .addGroup(pnl_principalLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addComponent(pnl_acoes, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(pnl_central, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                .addGap(5, 5, 5))
        );
        pnl_principalLayout.setVerticalGroup(
            pnl_principalLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(pnl_principalLayout.createSequentialGroup()
                .addGap(5, 5, 5)
                .addComponent(pnl_acoes, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(pnl_central, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addGap(5, 5, 5))
        );

        mnu_a.setMnemonic('a');
        mnu_a.setText("Ações");

        mnu_a_novo.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_F1, 0));
        mnu_a_novo.setText("Novo");
        mnu_a.add(mnu_a_novo);

        mnu_a_canc.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_F2, 0));
        mnu_a_canc.setText("Cancelar");
        mnu_a.add(mnu_a_canc);

        mnu_a_salv.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_F3, 0));
        mnu_a_salv.setText("Salvar");
        mnu_a.add(mnu_a_salv);

        mnu_a_edit.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_F4, 0));
        mnu_a_edit.setText("Editar");
        mnu_a.add(mnu_a_edit);

        mnu_a_loca.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_F5, 0));
        mnu_a_loca.setText("Localizar");
        mnu_a.add(mnu_a_loca);

        mnu_a_ante.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_LEFT, 0));
        mnu_a_ante.setText("Anterior");
        mnu_a.add(mnu_a_ante);

        mnu_a_prox.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_RIGHT, 0));
        mnu_a_prox.setText("Próximo");
        mnu_a.add(mnu_a_prox);

        mnu_a_prim.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_DOWN, 0));
        mnu_a_prim.setText("Primeiro");
        mnu_a.add(mnu_a_prim);

        mnu_a_ulti.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_UP, 0));
        mnu_a_ulti.setText("Último");
        mnu_a_ulti.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                mnu_a_ultiActionPerformed(evt);
            }
        });
        mnu_a.add(mnu_a_ulti);

        mnu_a_sair.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_F4, java.awt.event.InputEvent.ALT_MASK));
        mnu_a_sair.setText("Sair");
        mnu_a_sair.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                mnu_a_sairActionPerformed(evt);
            }
        });
        mnu_a.add(mnu_a_sair);

        mnu_a_info.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_I, java.awt.event.InputEvent.ALT_MASK));
        mnu_a_info.setText("Informações");
        mnu_a.add(mnu_a_info);

        mnu.add(mnu_a);

        setJMenuBar(mnu);

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(pnl_principal, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(pnl_principal, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

    private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton2ActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_jButton2ActionPerformed

    private void mnu_a_ultiActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_mnu_a_ultiActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_mnu_a_ultiActionPerformed

    private void mnu_a_sairActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_mnu_a_sairActionPerformed
		this.dispose();
    }//GEN-LAST:event_mnu_a_sairActionPerformed

    private void txt_codigoFocusGained(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_txt_codigoFocusGained
		this.txt_codigo.setBorder(BorderUIResource.LineBorderUIResource.createBlackLineBorder());
		this.txt_codigo.setForeground(Color.BLUE);
    }//GEN-LAST:event_txt_codigoFocusGained

    private void txt_descricaoFocusGained(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_txt_descricaoFocusGained
		this.txt_descricao.setBorder(BorderUIResource.LineBorderUIResource.createBlackLineBorder());
		this.txt_descricao.setForeground(Color.BLUE);
    }//GEN-LAST:event_txt_descricaoFocusGained

    private void txt_descricaoFocusLost(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_txt_descricaoFocusLost
		this.txt_descricao.setBorder(BorderUIResource.LineBorderUIResource.createGrayLineBorder());
		this.txt_descricao.setForeground(Color.darkGray);
    }//GEN-LAST:event_txt_descricaoFocusLost

    private void txt_codigoFocusLost(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_txt_codigoFocusLost
		this.txt_codigo.setBorder(BorderUIResource.LineBorderUIResource.createGrayLineBorder());
		this.txt_codigo.setForeground(Color.darkGray);
    }//GEN-LAST:event_txt_codigoFocusLost

    private void box_ativoFocusGained(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_box_ativoFocusGained
		this.box_ativo.setBorder(BorderUIResource.LineBorderUIResource.createBlackLineBorder());
		this.box_ativo.setForeground(Color.BLUE);
    }//GEN-LAST:event_box_ativoFocusGained

    private void box_ativoFocusLost(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_box_ativoFocusLost
		this.box_ativo.setBorder(BorderUIResource.LineBorderUIResource.createGrayLineBorder());
		this.box_ativo.setForeground(Color.darkGray);
    }//GEN-LAST:event_box_ativoFocusLost


    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JComboBox box_ativo;
    private javax.swing.JButton jButton1;
    private javax.swing.JButton jButton10;
    private javax.swing.JButton jButton2;
    private javax.swing.JButton jButton3;
    private javax.swing.JButton jButton4;
    private javax.swing.JButton jButton5;
    private javax.swing.JButton jButton6;
    private javax.swing.JButton jButton7;
    private javax.swing.JButton jButton8;
    private javax.swing.JButton jButton9;
    private javax.swing.JLabel lbl_codi;
    private javax.swing.JLabel lbl_desc;
    private javax.swing.JLabel lbl_mensagem;
    private javax.swing.JMenuBar mnu;
    private javax.swing.JMenu mnu_a;
    private javax.swing.JMenuItem mnu_a_ante;
    private javax.swing.JMenuItem mnu_a_canc;
    private javax.swing.JMenuItem mnu_a_edit;
    private javax.swing.JMenuItem mnu_a_info;
    private javax.swing.JMenuItem mnu_a_loca;
    private javax.swing.JMenuItem mnu_a_novo;
    private javax.swing.JMenuItem mnu_a_prim;
    private javax.swing.JMenuItem mnu_a_prox;
    private javax.swing.JMenuItem mnu_a_sair;
    private javax.swing.JMenuItem mnu_a_salv;
    private javax.swing.JMenuItem mnu_a_ulti;
    private javax.swing.JPanel pnl_acoes;
    private javax.swing.JPanel pnl_central;
    private javax.swing.JPanel pnl_principal;
    private javax.swing.JTextField txt_codigo;
    private javax.swing.JTextField txt_descricao;
    // End of variables declaration//GEN-END:variables

	private void IniciaTela() {
		this.txt_codigo.requestFocus();
	}//IniciaTela
	
	
	
}//CLASS
